import http from '@/utils/http'
export const reqAddressList = () => {
  return http.get('/userAddress/findUserAddress')
}
export const getAddressDetail = (id) => {
  return http.get(`/userAddress/${id}`)
}
export const delAddressApi = (id) => {
  return http.get(`/userAddress/delete/${id}`)
}
export const AddAddress = (data) => {
  return http.post('/userAddress/save', data)
}
export const updateAddress = (data) => {
  return http.post('/userAddress/update', data)
}
